<h2>Danh sách bạn bè (<?php echo $numberOfFriends?>)</h2>
<div class="yd_rp_widget search_result" id="allMembers">
	<?php
		foreach ($friends as $user) {
	?>
	<h4>
		<a href="index.php?view&type=user&userid=<?php echo $user->getUserID()?>">
		<img src="<?php echo $ubi['SERVER']['THUMBNAIL_PATH'] . '/' . $imgs[$user->getUserID()]?>" class="smallObject" /> 
			<?php echo $user->getUserName()?> 
		</a>
	</h4>
	<?php
		}
	?>
</div>
<div class="clear"></div>
<div class="page">
	Trang : 
	<?php
		for ($i = 0; $i < $numberOfPages; $i++) {
			if ($i + 1 != $getVars['page']) {
				?> <a class="a_cursor" onclick="$.viewPage('<?php echo $i + 1 ?>')"><?php echo $i + 1 ?></a>&nbsp;
				<?php
			} else {
				?> <b><a class="a_cursor" onclick="$.viewPage('<?php echo $i + 1 ?>')"><?php echo $i + 1 ?></a></b>&nbsp;
				<?php
			}
		}
	?>
</div>
